<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/include/taglib.jsp"%>
<html>
<head>
	<title>菜单导航</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript"> 
		$(document).ready(function() {
			$(".accordion-heading a").click(function(){
				$('.accordion-toggle i').removeClass('icon-chevron-down');
				$('.accordion-toggle i').addClass('icon-chevron-right');
				if(!$($(this).attr('href')).hasClass('in')){
					debugger;
					$(this).children('i').removeClass('icon-chevron-right');
					$(this).children('i').addClass('icon-chevron-down');
				}
			});
			$(".accordion-body a").click(function(){
				$("#menu li").removeClass("active");
				$("#menu li i").removeClass("icon-white");
				$(this).parent().addClass("active");
				$(this).children("i").addClass("icon-white");
			});
			$(".accordion-body a:first i").click();
		});
	</script>
</head>
<body>
	<div class="accordion"  id="menu">
		<div class="accordion-group">
		    <div class="accordion-heading">
		    	<a class="accordion-toggle" data-toggle="collapse" data-parent="#menu" href="#collapse4" ><i class="icon-chevron-right}"></i>系统信息管理</a>
		    </div>
		    <div id="collapse4" class="accordion-body collapse in}">
				<div class="accordion-inner">
					<ul class="nav nav-list" style="width: 95%">
						<li class="menu ${firstMenu?' active':''}"><a class="menu"  href="${ctx}/sys/syslog" target="mainFrame" >&nbsp;日志列表<i class="icon-circle-arrow-right"></i></a></li>
						<li class="menu ${firstMenu?' active':''}"><a class="menu"  href="${ctx}/sys/sysdict" target="mainFrame" >&nbsp;字典列表<i class="icon-circle-arrow-right"></i></a></li>
						<li class="menu ${firstMenu?' active':''}"><a class="menu"  href="${ctx}/sys/sysarea" target="mainFrame" >&nbsp;区域列表<i class="icon-circle-arrow-right"></i></a></li>
						<li class="menu ${firstMenu?' active':''}"><a class="menu"  href="${ctx}/sys/sysuser" target="mainFrame" >&nbsp;用户列表<i class="icon-circle-arrow-right"></i></a></li>
					</ul>
				</div>
		    </div>
		</div>
	</div>
</body>
</html>
